However, I do not bother writing tests for methods that the IDE generates for me. 但是,我也不厌烦为IDE生成的方法书写测试。
Selenium IDE is a plug-in for Firefox that lets you record tests. SeleniumIDE是一个允许录制测试的Firefox插件。
This is done outside your integrated development environment ( IDE), such as WebSphere Integration Developer, so running the unit tests via Ant is generally required. 这是在诸如WebSphereIntegrationDeveloper等集成开发环境(IDE)之外进行的,因此一般需要通过Ant运行单元测试。
Now that you have the tests running in the Eclipse IDE, with the help of an Apache Ant script and a few targets, you can automate the tests completely. 借助一个ApacheAnt脚本和几个目标的帮助,您已经在eclipseIDE中运行了一些测试,您还可以完全自动化这些测试。
If you want to see a comforting green bar when your tests pass or an anxiety-inducing red bar when they fail, you'll need an IDE with integrated JUnit support such as Eclipse. 如果您想在测试通过时看到赏心悦目的绿色波浪线,或者在测试失败时看到令人焦虑的红色波浪线,那么您需要一个具有集成JUnit支持的IDE,比如Eclipse。
Once you've written a few unit tests, you can always run them through an IDE, but you'll also want to run them as part of a build process. 一旦编写了一些单元测试,就可以一直通过IDE运行这些测试,但您也想要将这些测试作为构建过程的一部分来运行。
To quickly write some tests that you can use as a foundation for your automated tests, you can use Selenium IDE to get started. 要快速编写一些测试以用作您的自动化测试的基础,可以从SeleniumIDE入手。
If you are unable to download and install Selenium IDE because you have restrictions that prevent you from using Firefox, you can still write tests that you can run using Selenium RC. 如果有一些限制阻止您使用Firefox,无法下载和安装SeleniumIDE,您仍然可以编写使用SeleniumRC运行的测试。
The tool also gives you the ability to create more complicated tests than you can create using Selenium IDE alone. 这个工具还支持您创建比单独使用SeleniumIDE创建的测试更复杂的测试。
Selenium IDE is an easy way to start writing tests for your web applications. SeleniumIDE是开始为您的web应用程序编写测试的一种简单方法。
The topic Testing in other IDEs describes how to create and run tests with command-line tools. 在其他IDE中测试一章讲述了如何使用命令行工具创建和运行测试。